<?php
    class Answer_Component_Block_User extends Phpfox_Component {
        public function process() {
            $iQuestionId = $this->request()->getInt('id');
            $aCondition = array('q.id = '. $iQuestionId);
            $aQuestion = Phpfox::getService('answer.question')->getForEdit($aCondition);

            $aUser = Phpfox::getService('answer.point')->getUser($aQuestion['data']['user_id']);

            $this->template()
                ->assign('aUser', $aUser);
        }

    }
